package com.jinxinol.basic.system.service.impl;

import org.springframework.beans.factory.annotation.Autowired;

import org.springframework.stereotype.Service;

import com.jinxinol.core.common.AbstractService;

import com.jinxinol.basic.system.domain.SysConfig;

import com.jinxinol.basic.system.mapper.SysConfigMapper;

import com.jinxinol.basic.system.service.ISysConfigService;

/**
 * @author Automatic generation * SYS_系统参数Service
 */
@Service
public class SysConfigService extends AbstractService<SysConfig> implements ISysConfigService{
	@Autowired
	protected void setMapper(SysConfigMapper sysConfigMapper) {
		this.mapper = sysConfigMapper;
	}

	@Override
	public SysConfig findByKey(String key) throws Exception {
		return ((SysConfigMapper)mapper).findByKey(key);
	}
}
